type PageStateProps = {
  userState: {
    isLogin: boolean,
    accountInfo: object
  },
  cartState: {
    cartList: any[],
    invalidCartList: any[]
  }
}

type CartDataObj = {
  cartList: any[],
  invalidCartList: any[]
}

type PageDispatchProps = {
  login: (accountInfo: object) => void
  logout: () => void,
  setShopCart: (cartData: CartDataObj) => void
}

type PageProps = PageStateProps & PageDispatchProps

export default PageProps
